package com.wanmait.wanmarecruit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.wanmait.wanmarecruit.entity.Manager;

public interface ManagerService extends IService<Manager> {
    Manager checkNameAndPass(Manager manager);
    void updateLoginTime(Integer id);
    PageInfo<Manager> findAllManagerByPage(Integer pageNum,Integer pageSize);
    Manager selectOneById(Integer id);
    void insertOneManager(Manager manager);
    boolean checkNameIsExist(String name);
    void deleteOneManager(Integer id);
}
